package net.maku.events.vo;

import com.fhs.core.trans.anno.Trans;
import com.fhs.core.trans.constant.TransType;
import com.fhs.core.trans.vo.TransPojo;
import io.swagger.v3.oas.annotations.media.Schema;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Data;
import java.io.Serializable;
import net.maku.framework.common.utils.DateUtils;
import net.maku.member.entity.MemberUserEntity;
import net.maku.system.entity.SysOrgEntity;

import java.util.Date;
import java.util.List;

/**
* 用户随手拍作品
*
* @author 阿沐 babamu@126.com
* @since 1.0.0 2025-03-22
*/
@Data
@Schema(description = "用户随手拍作品")
public class UserSnapshotVO implements Serializable, TransPojo {
	private static final long serialVersionUID = 1L;

	@Schema(description = "id")
	private Long id;

	@Schema(description = "用户id")
	@Trans(type = TransType.SIMPLE, target = MemberUserEntity.class, fields = "realName", ref = "userName")
	private Long userId;

	@Schema(description = "用户id")
	private String userName;

	@Schema(description = "随手拍活动id")
	private Long snapshotId;

	@Schema(description = "描述")
	private String description;

	@Schema(description = "作品地址数组")
	private List<String> fileUrl;

	@Schema(description = "发布地址")
	private String publishAddress;

	@Schema(description = "经度")
	private String publishLongitude;

	@Schema(description = "纬度")
	private String publishLatitude;

	@Schema(description = "浏览量")
	private Integer pageView;

	@Schema(description = "点赞量")
	private Integer likes;

	@Schema(description = "评论数")
	private Integer comments;

	@Schema(description = "是否精选")
	private Integer whetherChoiceness;

	@Schema(description = "审核标识  0：待审核   1：审核通过")
	private Integer auditStatus;

	@Schema(description = "租户ID")
	private Long tenantId;

	@Schema(description = "创建时间")
	@JsonFormat(pattern = DateUtils.DATE_TIME_PATTERN)
	private Date createTime;


}